package clnt;

import java.io.File;
import java.io.FileFilter;

public class XMLFileFilter implements FileFilter {

	@Override
	public boolean accept(File pathname) {
		return pathname.getName().matches(".+\\.xml");
	}

	public static void main(String[] args) {
		FileFilter f = new XSLTFileFilter();
		System.out.println(f.accept(new File(args[0])));
	}
}